/*
 * 作者		www.TheWk.cn.vc
 * 开发环境	Windows7 64位 MyEclipse8.6 JDK1.6.0_37
 * 开发日期	2013-11-28
 */
package common.model;

/**
 * <hr/>
 * 
 * @author www.TheWk.cn.vc
 * @version 1.0 2013-11-28
 */
public class UploadModel {

	public static final int Status_Success = 200;
	public static final int Status_Error   = 300;

	private int             status;

	private String          absoluteFilePath;    // 绝对路径
	private String          relativeFilePath;    // 相对路径

	private String          zoomAbsoluteFilePath; // 缩放后的绝对路径
	private String          zoomRelativeFilePath; // 缩放后的相对路径

	public UploadModel() {
		status = Status_Error;
	}

	/**
	 * 绝对路径,相对路径
	 */
	public UploadModel(String absoluteFilePath, String relativeFilePath) {
		status = Status_Success;
		this.absoluteFilePath = absoluteFilePath;
		this.relativeFilePath = relativeFilePath;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getAbsoluteFilePath() {
		return absoluteFilePath;
	}

	public void setAbsoluteFilePath(String absoluteFilePath) {
		this.absoluteFilePath = absoluteFilePath;
	}

	public String getRelativeFilePath() {
		return relativeFilePath;
	}

	public void setRelativeFilePath(String relativeFilePath) {
		this.relativeFilePath = relativeFilePath;
	}

	public String getZoomAbsoluteFilePath() {
		return zoomAbsoluteFilePath;
	}

	public void setZoomAbsoluteFilePath(String zoomAbsoluteFilePath) {
		this.zoomAbsoluteFilePath = zoomAbsoluteFilePath;
	}

	public String getZoomRelativeFilePath() {
		return zoomRelativeFilePath;
	}

	public void setZoomRelativeFilePath(String zoomRelativeFilePath) {
		this.zoomRelativeFilePath = zoomRelativeFilePath;
	}

}
